<template>
  <div>
    <h2>film detail</h2>
    <h4>{{ topo.id }}</h4>
    <h4>{{ topo.name }}</h4>
    <h4>{{ topo.created }}</h4>
    <h4>{{ topo.tags }}</h4>
  </div>
</template>

<script>
import axios from 'axios'

export default {
  data() {
    return {
      topo: "linux"
    }
  },
  mounted () {
    var url = 'http://192.168.0.211:60666/topo/api/' + this.$route.params.id;
    axios({
      url: url,
    }).then(res => {
      this.topo = res.data;
    })
  },
  setup() {
    
  },
}
</script>